package com.project.mapper;

import com.project.bean.StudentBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IStudentMapper {
    public int add(StudentBean student);

    public void del(int id);


    public void delMore(@Param("idArray")int[] idArray);


    public void update(@Param("sid") int id, @Param("newTel")String tel);

    public List<StudentBean> findAll();

    public StudentBean findById(int id);

    public  List<StudentBean>findByName(@Param("name")String name);
}
